package com.example.demo.mongo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author wujunyu
 * @date 2020/9/16 14:52
 */
@Data
@Document("db_follow")
public class Follow {
    
    @Id
    private String id;
    
    private String userId;
    
    private String followId;
    
}
